Prevent server-mode from issuing a prompt in kill-emacs-hook.
authorChong Yidong <cyd@stupidchicken.com>
Mon, 1 Nov 2010 03:35:06 +0000 (23:35 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 1 Nov 2010 03:35:06 +0000 (23:35 -0400)
commitb7428f709684fb46999ad0bbbfe4c7f5a38b5dc9
tree5ebd88901cdf7fa91a67530bd9a4630faea1ba4d
parent825b3942e388d071a6d75524c57cf558ef92e7c8
Prevent server-mode from issuing a prompt in kill-emacs-hook.
* server.el (server-start): New arg INHIBIT-PROMPT prevents asking
user for confirmation.
(server-force-stop): Use it.
(server-start): Use server-force-stop for kill-emacs-hook, to
avoid user interaction while killing Emacs.
lisp/ChangeLog
lisp/server.el